<?php
	class ShopuserAction extends Action{
		public function index(){
			$this->display();
		}
		
		public function add(){
			$shopuser =	D('shopuser');
			$data[uid]= $_POST['uid'];
			$data[privince] = $_POST['privince'];
			$data[city] = $_POST['city'];
			$id=$shopuser->add($data);
			echo $id;
		}
		
		public function del(){
			$shopuser =	D('shopuser');
			$shopuser->del($_GET['id']);
		}
		
		public function update(){
			$shopinfo = D('shopinfo');
			
		}
	}

?>